package com.iwomy.envpro.platform.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.iwomy.envpro.admin.api.dto.SysLogDTO;
import com.iwomy.envpro.platform.VO.AlarmLoggingVO;
import com.iwomy.envpro.platform.dto.AlarmLoggingDTO;
import com.iwomy.envpro.platform.entity.AlarmLoggingEntity;

import java.io.Serializable;

public interface AlarmLoggingService extends IService<AlarmLoggingEntity> {

	/**
	 * 分页查询报警记录
	 * @param page
	 * @param alarmLoggingDTO
	 * @return
	 */
	Page getAlarmLoggingByPage(Page page, AlarmLoggingDTO alarmLoggingDTO);



	boolean updateAlarmLogging(AlarmLoggingEntity alarmLoggingEntity);

	/**
	 * 获取报警详情
	 * @param id
	 * @return
	 */
	AlarmLoggingVO getDetails(Serializable id);

}